<?php 
	// A sessão precisa ser iniciada em cada página diferente
	include "restritoCliente.php";
	if (!isset($_SESSION)) session_start();
	header("Content-Type: text/html; charset=utf-8", true);
?>

<!DOCTYPE html>
<html>
	<head> 
		<title> Usuário </title>
		<link rel="stylesheet" type="text/css" href="css/style.css" />
	</head>
	<body>
		<div class="container">
			<div class="head">
				<a id="logo" href="index.php">CKJ Store</a>
				
				<?php 
					include 'head_login.php';
				?>
			</div>

			<!-- fim do header-->

			<?php include 'head_search.php'; ?>
			
			<?php 
				if(isset($_GET['user_form_success'])){
				    if($_GET['user_form_success'] == 'false'){
				         echo '<span class="flash-message">Problemas no cadastro</span>';
				    }
				}   
			?>

			<?php 
				$idCliente= $_GET["idc"];
				include 'formEditarUsuario.php'; 
			?>
		</div>
	</body>
</html>